﻿@inherits BaseComponent
@if ( !HasCustomRegistration )
{
    <CascadingValue Value=this>
        <CascadingValue Value="@Store">
            <nav class="@ClassNames" style="@StyleNames" data-collapse="@CollapseModeString" data-broken="@BrokenStateString" @attributes="@Attributes">
                @ChildContent
            </nav>
        </CascadingValue>
    </CascadingValue>
}
else
{
    @RenderCustomComponent()
}